<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - KeyboardMapper</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/KeyboardMapper.html">KeyboardMapper</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class KeyboardMapper
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				<br />Version
					kbm-1.0.0.1.<br />
				
				
			
				自定义快捷键支持
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/todocjs_KeyboardMapper.js.html">KeyboardMapper.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class KeyboardMapper.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/KeyboardMapper.html#constructor">KeyboardMapper</a></b>()
							</div>
							<div class="description">KeyboardMapper项目<br /><br />      	一、希望实现的功能<br />		通过用户的自定义，使得浏览器支持更多的快捷键<br /><br />		二、需求分析：<br />		1、禁用快捷键，要有全部的和指定快捷键的禁用	<br />			2、恢复快捷键<br />		3、绑定快捷键<br />		4、移除快捷键<br />		5、快捷键作用范围<br />		6、查询已经绑定的快捷键<br />		7、组合快捷键<br />		8、修改快捷键<br />	三、概要设计<br />		1、快捷键映射：在这里定义所有的快捷键组合<br />			var KeyMaps = [];<br /><br />				2、API设定：根据需求分析，制定一系列基本的接口方法<br />			//禁用快捷键<br />	        //不传参数就处理所有快捷键，传一个ID就处理一个， 传多个就处理多个，类似jQuery那种<br />			public boolean disableShortcuts();<br />			//恢复快捷键<br />	        public boolean restoreShortcuts();<br /><br />				//绑定快捷键<br />			public boolean addShortcuts();<br />			//移除快捷键<br />			public boolean removeShortcuts();<br />			//修改快捷键<br />			public boolean alterShortcuts();<br /><br />				//查询已经绑定的快捷键(指定)<br />			public Array findShortcuts(KeyMaps _keyID);<br /></div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class KeyboardMapper.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.author">author</a></b>
								</div>
								<div class="description">作者</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.KeyMaps">KeyMaps</a></b>
								</div>
								<div class="description">KeyboardMapper类的静态属性：快捷键映射表(键均为大写字母)，默认为空数组</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.prjName">prjName</a></b>
								</div>
								<div class="description">项目名称</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.version">version</a></b>
								</div>
								<div class="description">版本信息</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class KeyboardMapper.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.addShortcuts">addShortcuts</a></b>(arrShortcuts, fnCallback, optConfig)
								</div>
								<div class="description">绑定快捷键<br /></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.alterShortcuts">alterShortcuts</a></b>(keyNames, fnCallback)
								</div>
								<div class="description">修改快捷键<br />本方法的调用格式可以是如下两种：<br />1、alterShortcuts("Ctrl+A",fnCallback);<br />2、alterShortcuts(["Ctrl+A","Ctrl+B"],fnCallback);<br /></div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.disableShortcuts">disableShortcuts</a></b>(args)
								</div>
								<div class="description">禁用快捷键</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.findShortcuts">findShortcuts</a></b>(args)
								</div>
								<div class="description">查询已经绑定的快捷键</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.removeShortcuts">removeShortcuts</a></b>(args)
								</div>
								<div class="description">移除快捷键</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">KeyboardMapper.<b><a href="../symbols/KeyboardMapper.html#.restoreShortcuts">restoreShortcuts</a></b>(args)
								</div>
								<div class="description">恢复（启用）快捷键</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont">
						<b>KeyboardMapper</b>()
				</div>
				
				<div class="description">
					KeyboardMapper项目<br /><br />      	一、希望实现的功能<br />		通过用户的自定义，使得浏览器支持更多的快捷键<br /><br />		二、需求分析：<br />		1、禁用快捷键，要有全部的和指定快捷键的禁用	<br />			2、恢复快捷键<br />		3、绑定快捷键<br />		4、移除快捷键<br />		5、快捷键作用范围<br />		6、查询已经绑定的快捷键<br />		7、组合快捷键<br />		8、修改快捷键<br />	三、概要设计<br />		1、快捷键映射：在这里定义所有的快捷键组合<br />			var KeyMaps = [];<br /><br />				2、API设定：根据需求分析，制定一系列基本的接口方法<br />			//禁用快捷键<br />	        //不传参数就处理所有快捷键，传一个ID就处理一个， 传多个就处理多个，类似jQuery那种<br />			public boolean disableShortcuts();<br />			//恢复快捷键<br />	        public boolean restoreShortcuts();<br /><br />				//绑定快捷键<br />			public boolean addShortcuts();<br />			//移除快捷键<br />			public boolean removeShortcuts();<br />			//修改快捷键<br />			public boolean alterShortcuts();<br /><br />				//查询已经绑定的快捷键(指定)<br />			public Array findShortcuts(KeyMaps _keyID);<br />
					<br /><i>Author: </i><b>wang.hongxu(王宏旭),zhao.xianlie(赵先烈)</b><br /><br />.
				</div>
				
				
				
				
					
					
					
					
					
						<dl class="detailList">
						<dt class="heading">Returns:</dt>
						
								<dd>KeyboardMapper实例</dd>
						
						</dl>
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name=".author"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">KeyboardMapper.</span><b>author</b>
					
					</div>
					<div class="description">
						作者
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".KeyMaps"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Array}</span>
					<span class="light">KeyboardMapper.</span><b>KeyMaps</b>
					
					</div>
					<div class="description">
						KeyboardMapper类的静态属性：快捷键映射表(键均为大写字母)，默认为空数组
						
						
					</div>
					
					
					
					<pre class="code">[	 {"key":"CTRL+A","fn":fnCallback1,"usability":true},	 {"key":"CTRL+B",'fn':fnCallback2,"usability":true}]</pre>
					
					

						
						
						
						

					<hr />
				
					<a name=".prjName"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">KeyboardMapper.</span><b>prjName</b>
					
					</div>
					<div class="description">
						项目名称
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".version"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{String}</span>
					<span class="light">KeyboardMapper.</span><b>version</b>
					
					</div>
					<div class="description">
						版本信息
						
						
					</div>
					
					

						
						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".addShortcuts"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">KeyboardMapper.</span><b>addShortcuts</b>(arrShortcuts, fnCallback, optConfig)
					
					</div>
					<div class="description">
						绑定快捷键<br />
						
						
					</div>
					
					
					
					<pre class="code">//为整个文档区域注册一个Ctrl+X快捷键KeyboardMapper.addShortcuts("Ctrl+x",function(){	alert("Ctrl+X 在document上触发！");});</pre>
					
					<pre class="code">//为文本框txtKBM01绑定一个快捷键KeyboardMapper.addShortcuts("Ctrl+S",function(){		$("#txtKBM01").val("Ctrl+S 在文本框中触发！");		alert("Ctrl+S 在文本框中触发！");					},{target : "txtKBM01"});</pre>
					
					<pre class="code">//为文本框txtKBM02绑定两个快捷键KeyboardMapper.addShortcuts(["Ctrl+A","Ctrl+B"],function(){		$("#txtKBM02").val("Ctrl+A或Ctrl+B 在文本框中触发！");		alert("Ctrl+A或Ctrl+B 在文本框中触发！");					},{target : "txtKBM02"});</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String/Array}</span> <b>arrShortcuts</b>
									
								</dt>
								<dd>需要注册的快捷键，可以是字符串，如"CTRL+B"，<br />				  也可以是数组，如["CTRL+B","ALT+CTRL+E"]<br /></dd>
							
								<dt>
									<span class="light fixedFont">{function}</span> <b>fnCallback</b>
									
								</dt>
								<dd>回调函数<br /></dd>
							
								<dt>
									<span class="light fixedFont">{json/object}</span> <b>optConfig</b>
									
								</dt>
								<dd>可选的配置参数，配置项包括如下：<br />		{<br />		&nbsp;&nbsp;	target : document	//可以是DOM节点的ID，默认是document<br />		}<br /></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> KeyboardMapper本身</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".alterShortcuts"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">KeyboardMapper.</span><b>alterShortcuts</b>(keyNames, fnCallback)
					
					</div>
					<div class="description">
						修改快捷键<br />本方法的调用格式可以是如下两种：<br />1、alterShortcuts("Ctrl+A",fnCallback);<br />2、alterShortcuts(["Ctrl+A","Ctrl+B"],fnCallback);<br />
						
						
					</div>
					
					
					
					<pre class="code">//修改一个快捷键KeyboardMapper.alterShortcuts("Ctrl+A",function(){		alert("Ctrl+A这个快捷键被修改咯！你只能按Ctrl+B了！" )});</pre>
					
					<pre class="code">//修改多个快捷键KeyboardMapper.alterShortcuts(["Ctrl+A","Ctrl+B"],function(){		alert("Ctrl+A和Ctrl+B这个快捷键被修改咯！" )});</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String/Array}</span> <b>keyNames</b>
									
								</dt>
								<dd>本参数可以是字符串，也可以是数组，分别解释如下：<br />		1、字符串：修改字符串指定的快捷键，使其映射到fnCallback，如"Ctrl+A"<br />		2、数组：修改数组中的每一个快捷键，使其都映射到fnCallback，如["Ctrl+A","Ctrl+B"]<br /></dd>
							
								<dt>
									<span class="light fixedFont">{function}</span> <b>fnCallback</b>
									
								</dt>
								<dd>需要重新指定的回调函数</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> KeyboardMapper本身</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".disableShortcuts"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">KeyboardMapper.</span><b>disableShortcuts</b>(args)
					
					</div>
					<div class="description">
						禁用快捷键
						
						
					</div>
					
					
					
					<pre class="code">//禁用单个快捷键KeyboardMapper.disableShortcuts("Ctrl+A");</pre>
					
					<pre class="code">//禁用多个快捷键KeyboardMapper.disableShortcuts(["Ctrl+A","Ctrl+B","Ctrl+C"]);</pre>
					
					<pre class="code">//禁用全部快捷键KeyboardMapper.disableShortcuts();</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String/Array}</span> <b>args</b>
									
								</dt>
								<dd>本参数很活跃，可以是空、字符串、数组对每种情况分别解释如下：<br />		1、参数为空：禁用所有快捷键<br />		2、参数为字符串：禁用字符串所指定的快捷键，如"Ctrl+A"<br />		3、参数为数组：禁用数组中的每一个快捷键，如["Ctrl+B","Ctrl+D"]<br /></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> KeyboardMapper本身</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".findShortcuts"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object/Array}</span>
					<span class="light">KeyboardMapper.</span><b>findShortcuts</b>(args)
					
					</div>
					<div class="description">
						查询已经绑定的快捷键
						
						
					</div>
					
					
					
					<pre class="code">//查找一个指定的快捷键var objSc = KeyboardMapper.findShortcuts("Ctrl+A");//查找多个快捷键var lstSc = KeyboardMapper.findShortcuts(["Ctrl+A","Ctrl+B","Ctrl+C"]);</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String/Array}</span> <b>args</b>
									
								</dt>
								<dd>本参数很活跃，可以是空、字符串、数组对每种情况分别解释如下：<br />		1、参数为空：查询所有快捷键<br />		2、参数为字符串：查询字符串所指定的快捷键，如"Ctrl+A"<br />		3、参数为数组：查询数组中的每一个快捷键，如["Ctrl+B","Ctrl+D"]<br /></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object/Array}</span> 快捷键对象，即KeyboardMapper.KeyMaps数组中的对象</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".removeShortcuts"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">KeyboardMapper.</span><b>removeShortcuts</b>(args)
					
					</div>
					<div class="description">
						移除快捷键
						
						
					</div>
					
					
					
					<pre class="code">//移除单个快捷键KeyboardMapper.removeShortcuts("Ctrl+A");</pre>
					
					<pre class="code">//移除多个快捷键KeyboardMapper.removeShortcuts(["Ctrl+A","Ctrl+B","Ctrl+C"]);</pre>
					
					<pre class="code">//移除全部快捷键KeyboardMapper.removeShortcuts();</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String/Array}</span> <b>args</b>
									
								</dt>
								<dd>本参数很活跃，可以是空、字符串、数组对每种情况分别解释如下：<br />		1、参数为空：移除所有快捷键<br />		2、参数为字符串：移除字符串所指定的快捷键，如"Ctrl+A"<br />		3、参数为数组：移除数组中的每一个快捷键，如["Ctrl+B","Ctrl+D"]<br /></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> KeyboardMapper本身</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".restoreShortcuts"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">KeyboardMapper.</span><b>restoreShortcuts</b>(args)
					
					</div>
					<div class="description">
						恢复（启用）快捷键
						
						
					</div>
					
					
					
					<pre class="code">//恢复（启用）单个快捷键KeyboardMapper.restoreShortcuts("Ctrl+A");</pre>
					
					<pre class="code">//恢复（启用）多个快捷键KeyboardMapper.restoreShortcuts(["Ctrl+A","Ctrl+B","Ctrl+C"]);</pre>
					
					<pre class="code">//恢复（启用）全部快捷键KeyboardMapper.restoreShortcuts();</pre>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String/Array}</span> <b>args</b>
									
								</dt>
								<dd>本参数很活跃，可以是空、字符串、数组对每种情况分别解释如下：<br />		1、参数为空：恢复所有快捷键<br />		2、参数为字符串：恢复字符串所指定的快捷键，如"Ctrl+A"<br />		3、参数为数组：恢复数组中的每一个快捷键，如["Ctrl+B","Ctrl+D"]<br /></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> KeyboardMapper本身</dd>
							
							</dl>
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.3.0 on Sat May 22 2010 10:51:40 GMT+0800 (CST)
		</div>
	</body>
</html>
